package com.exception.ErrorCode;

/**
 * @author fanshihao
 * @date 2025-04-01 16:50
 */
public enum FileErrorCode implements ErrorCode {

    FILE_IS_NULL("FILE_IS_NULL","文件不能为空"),

    ILLEGAL_NUMBER_FORMAT("ILLEGAL_NUMBER_FORMAT","存在非法数字")


    ;

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    private String code;
    private String message;

    FileErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
